<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link href="https://cdn.bootcdn.net/ajax/libs/minireset.css/0.0.2/minireset.min.css" rel="stylesheet" />
  </head>
  <body>
    <style>
      main {
        width: 100vw;
        height: 100vh;
        display: grid;
        grid: repeat(2, 1fr) / repeat(2, 1fr);
        /* grid-template: repeat(2, 1fr) / repeat(2, 1fr); */
        /* grid-template-rows: repeat(2, 1fr);
        grid-template-columns: repeat(2, 1fr); */
        /* justify-content: space-around; */
        /* align-content: space-around; */
        /* place-content: space-between space-around; */
        /* justify-items: center;
        align-items: center; */
        place-items: center center;
      }
      div {
        width: 20vw;
        height: 20vh;
        background-color: coral;
        background-clip: content-box;
        padding: 5px;
        border: solid 1px salmon;
        display: grid;
        place-items: center center;
      }
      div:nth-child(1) {
        /* justify-self: end;
        align-self: start; */
        /* place-self: start end; */
      }

      section {
        display: flex;
        width: 30vw;
        height: 30vh;
        background-color: salmon;
        justify-content: center;
        align-items: center;
      }
    </style>
    <main>
      <div>1</div>
      <div>2</div>
      <div>3</div>
      <div>4</div>
    </main>
    <section>yahoo.com</section>
  </body>
</html>
